﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace JSIF_WCFServer.Model
{
    /// <summary>
    /// Metadata for a book
    /// </summary>
    [DataContract]
    public class Book
    {
        /// <summary>
        /// The server specific shortname of the book
        /// </summary>
        [DataMember]
        public String ShortName { get; set; }

        /// <summary>
        /// The author of the book
        /// </summary>
        [DataMember]
        public Author Author {get;set;}

        /// <summary>
        /// The title of the book
        /// </summary>
        [DataMember]
        public String Title { get; set; }

        /// <summary>
        /// The description of the book
        /// </summary>
        [DataMember]
        public String Description { get; set; }

        /// <summary>
        /// The url to a cover image for the book
        /// </summary>
        [DataMember]
        public String CoverImage { get; set; }
    }
}
